
#ifndef _Login_main_H_
#define _Login_main_H_


typedef struct
{
    /* Login Options */
    GtkWidget *ok_button;
	GtkWidget *login_frame;
	GtkWidget *protocol_menu;
	GtkWidget *password_box;
	GtkWidget *username_entry;
	GtkWidget *password_entry;
	GtkWidget *alias_entry;
	GtkWidget *remember_pass_check;
	GtkWidget *wechat_login_button;
	GtkWidget *QQ_login_button;

	/*Register Options*/
	GtkWidget *RegisterWindow;
	GtkWidget *Username_entry;
	GtkWidget *Password_entry;
	GtkWidget *Tel_entry;
	GtkWidget *Sex_entry;
	GtkWidget *register_button;
	GtkWidget *man_radio_button;
	GtkWidget *woman_radio_button;
	GtkWidget *Email_entry;
	GtkWidget *EmailVerification_entry;
	GtkWidget *Nickname_entry;
	GtkWidget *Register_button;
	GtkWidget *Return_button;
	GtkWidget *Verification_button;

}AccountPrefsDialog;


void pidgin_Login_dialog_show();
void pidgin_register_dialog_show();
void register_account_prefs_cb();
void login_account_prefs_cb();

char *Get_LoginUsername_Value();
char *Get_LoginPassword_Value();
char *Get_Register_Username_value();
char *Get_Register_Email_value();


int Login_main (int argc, char *argv[]);

#endif // _Login_main_H_
